# -*- coding: utf-8 -*-
""""
from django import forms
from .models import *


def getList():
    tall=yudingTime.objects.all()
    tlist=[]
    for item in tall:
        oneItem=(item.id,item)
        tlist.append(oneItem)

	return tuple(tlist)


class yulan_YudingForm(forms.ModelForm):
     #test_folder_ddl = forms.ChoiceField()
     pass

     def __init__(self, *args, **kwargs):
          super(yulan_YudingForm, self).__init__(*args, **kwargs)
          #self.fields['test_folder_ddl'].choices = ((0, u"可预定"),(1, u"未开放"),)
          self.fields['ydTime'].choices = getList()

"""
